package com.melly.demo1.service.master.impl;


import com.melly.demo1.masterMapper.MasterUserMapper;
import com.melly.demo1.model.cluster.ClusterUser;
import com.melly.demo1.model.master.MasterUser;
import com.melly.demo1.service.master.MasterUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class MasterUserServiceImpl implements MasterUserService {

    @Resource
    MasterUserMapper masterUserDao;

    @Override
    public List<MasterUser> getAll(){
        return masterUserDao.getAll();
    }


    @Override
    public void addUser(MasterUser masterUser) {
        masterUserDao.addUser(masterUser);
    }

    @Override
    public void addUserInfo(Map<String, Object> map) {
        masterUserDao.addUserInfo(map);
    }

    @Override
    public void addAuth(Map<String, Object> map) {
        masterUserDao.addAuth(map);
    }

    @Override
    public void addUserFund(Map<String, Object> map) {
        masterUserDao.addUserFund(map);
    }

    @Override
    public void addUserRecord(Map<String, Object> map) {
        masterUserDao.addUserRecord(map);
    }
}
